<template>
  <view class="map">
    <web-view src="/static/tx-map.html" @message="getData"></web-view>
	<!-- <web-view src="/static/baidu-map.html" @message="getData"></web-view> -->
<!-- 	<web-view src="www.baidu.com"></web-view> -->
  </view>
</template>
 
<script>
  export default {
    data() {
      return {

      }
    },
    methods: {
      getData(event) {
        let data = event.detail.data;
        uni.setStorageSync('mapData',data)
        uni.navigateBack()
      }
    }
  }
</script>
 
<style>

</style>